package com.atgugu.springcloud.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZhangXinWang
 * @date 2023/1/7 20:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Storage {
    /**
     * id
     */
    private Long id;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 总库存
     */
    private Integer total;
    /**
     * 已用库存
     */
    private Integer used;
    /**
     * 剩余库存
     */
    private Integer residue;

}
